/*
 * Powered By 
 * Since 2010 - 2016
 */

package com.rf.business.service;

import java.util.List;
import java.util.Map;

import com.rf.sys.utils.PageUtils;
import com.rf.business.model.Shuttle;

public interface ShuttleService{
	
	/**
	 * 根据id获取数据
	 * @param shuttleId
	 * @return Shuttle
	 */
	public Shuttle getShuttleByID(String id
) throws Exception;
	
	/**
	 * 根据Shuttle获取数据
	 * @param Shuttle
	 * @return List<Shuttle>
	 */
	public List<Shuttle> getShuttle(Shuttle shuttle) throws Exception;
	
	/**
	 * 获取所有数据
	 * @param 
	 * @return List<Shuttle>
	 */
	public List<Shuttle> getShuttle() throws Exception;
	
	/**
	 * 保存信息
	 * @param Shuttle
	 * @return
	 */
	public void addShuttle(Shuttle shuttle) throws Exception;
	
	/**
	 * 修改数据
	 * @param Shuttle
	 * @return
	 */
	public void updateShuttle(Shuttle shuttle) throws Exception;
	
	/**
	 * 删除数据
	 * @param shuttleId
	 * @return
	 */
	public void deleteShuttle(String id
) throws Exception;
	
	/**
	 * 获取数据分页
	 * @param Shuttle
	 * @param pageUtils
	 * @return Map
	 */
	public Map getShuttlePage(Shuttle shuttle,PageUtils pageUtils) throws Exception;
}
